Computation-by-Interaction with Effects

نویسنده

  • Ulrich Schöpp
چکیده

A successful approach in the semantics of programming languages is to model programs by interaction dialogues. While dialogues are most often considered abstract mathematical objects, it has also been argued that they are useful for actual computation. A manual implementation of interaction dialogues can be complicated, however. To address this issue, we consider a general method for extending a given language with a metalanguage that supports the implementation of dialogues. This method is based on the construction by Dal Lago and the author of the programming language INTML, which applies interaction dialogues to sublinear space computation. We show that only few assumptions on the programming languages are needed to implement a useful INTML-like metalanguage. We identify a weak variant of the Enriched Effect Calculus (EEC) of Egger, Møgelberg & Simpson as a convenient setting for capturing the structure needed for the construction of the metalanguage. In particular, function types are not needed for the construction and iteration by means of a Conway operator is sufficient. By using EEC we show how computational effects can be accounted for in the implementation of interaction dialogues. In game semantics and related areas of programming language semantics there is a long tradition of modelling programs by interaction dialogues. Programs are modelled as entities that may engage in a dialogue with their environment. The interpretation of a program explains what kinds of queries it can receive and how it may answer. Large programs are composed of smaller ones that interact with each other, so that the whole execution of a program may be considered an interaction process. The question/answer dialogues that make up such models tend to have very concrete nature, which has lead to interesting applications, for example in algorithmic game semantics. The premise of this paper is that interaction dialogues are useful not only for interpreting programming languages, but also as an actual implementation method. There are many examples where dialogues have been used for the implementation of programs, e.g. [17, 6, 13]. Two recent examples provide the main motivation for the work reported here. First, Ghica introduces the Geometry of Synthesis [6] as a method of hardware synthesis. His approach is to construct a game model by implementing interaction dialogues by digital circuits and then to interpret a variant of Idealized Algol in the thus constructed game model. With this approach one can write a program in an high-level language (Idealized Algol) and by interpretation in the game model have it translated to a low-level language for digital circuits (Verilog). In this way, the implementation of dialogues is used as a method for hardware synthesis. A similar example has been studied by Dal Lago and the author in the context of computation with sublinear space [13]. There the problem is how to write programs

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A robust engineering approach for wind turbine blade profile aeroelastic computation

Wind turbines are important devices that extract clean energy from wind flow. The efficiency of wind turbines should be examined under various working conditions in order to estimate off-design performance. Numerous aerodynamic and structural research works have been carried out to compute aeroelastic effects on wind turbines. Most of them suffer from either the simplicity of the modelling ...

متن کامل

Structure and Properties of a Natural Celulosic Hollow Fiber

The interaction of thermal radiation with conduction and laminar natural convection in a vertical circular pin, situated at participating gas, is numerically investigated. An absorbing and emitting gas is considered, and treated to be a gray participating media. Under the idealizing of gray gas, the Rosselan4 approximation is employed to describe the radiative heat flux in the energy equation. ...

متن کامل

A robust engineering approach for wind turbine blade profile aeroelastic computation

Wind turbines are important devices that extract clean energy from wind flow. The efficiency of wind turbines should be examined under various working conditions in order to estimate off-design performance. Numerous aerodynamic and structural research works have been carried out to compute aeroelastic effects on wind turbines. Most of them suffer from either the simplicity of the modelling appr...

متن کامل

Pressure effects on Ca60Al40 metallic glass superconductors

Theoretical computation of the pressure dependence superconducting state parameters of binary Ca60Al40 is reported using model potential formalism. Explicit expressions have been derived for the volume dependence of the electron–phonon coupling strength λ and the Coulomb pseudopotential μ* considering the variation of Fermi momentum KF and Debye temperature ӨD with volume. Well known Ashcroft’s...

متن کامل

Interaction of laminar natural convection and radiation in an inclined square cavity containing participating gases

Two-dimensional numerical study of flow and temperature fields for laminar natural convection and radiation in the inclined cavity is performed in the present work. The walls of the square cavity are assumed kept at constant temperatures. An absorbing, emitting, and scattering gray medium is enclosed by the opaque and diffusely emitting walls. The set of governing equations, including conservat...

متن کامل

Parallel computation framework for optimizing trailer routes in bulk transportation

We consider a rich tanker trailer routing problem with stochastic transit times for chemicals and liquid bulk orders. A typical route of the tanker trailer comprises of sourcing a cleaned and prepped trailer from a pre-wash location, pickup and delivery of chemical orders, cleaning the tanker trailer at a post-wash location after order delivery and prepping for the next order. Unlike traditiona...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2011